/**
 * Copyright (c) 2015-2030 by Beijing Yanlight Co., Ltd.
 * All rights reserved.
 */
package com.yanlight.support.pay;

import javax.servlet.http.HttpServletResponse;

import com.yanlight.Constants;
import com.yanlight.util.WebUtil;

/**
 * 
 * @author haolw
 * @time 2017/10/27
 */
public class DefaultPayNotifyHandler implements PayNotifyHandler {
	private static DefaultPayNotifyHandler handler = new DefaultPayNotifyHandler();

	private DefaultPayNotifyHandler() {
	}

	public static DefaultPayNotifyHandler getInstance() {
		return handler;
	}

	@Override
	public void handPayNotify(String packets, HttpServletResponse response, PayNotify notify) {
		WebUtil.renderText(response, Constants.FAIL);
	}

}
